<?php
namespace app\api\controller;

class Orderconvert
{

	public function index()
	{
		return view('api/orderconvert/index');
	}
	
    public function orderconvert()
    {
    	$data = $_GET;
    	$m = model('orderconvert');
    	$result = $m->get_list($data);
	    dump($result);
	    die();
    }

    public function order_callback()
    {
    	$data = $_GET();
    	$m = model('orderconvert');
    	$result = $m->push_to_pay($data);
        dump($result);
        die();
    }
}
